package com.demo.gateway.userdataservice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.demo.gateway.userdataservice.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UserMapper  extends BaseMapper<User> {


    @Select("select * from user limit 2 ")
    List<User> get2();

}
